
function loginOut(){
    $.ajax({
        url:'../../public/index.php/admin/loginOut',
        type:"GET",
        success:function(data){
            if(data.code === 1){
                lay(data.data);
                setTimeout(function(){window.location = '../index.html'},1000);
            }
        },
        error:function(){
            lay('网络错误');
        }
    })
}




